package com.jt.www.model.issue;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName ElectronicPolicyParam
 * @Description
 * @Author yanglichao
 * @Date 2019/6/21
 * @Version 1.0
 **/

public class ElectronicPolicyParam {
    /**
     * 投保单号
     */
    @ApiModelProperty(value = "投保单号", required = true)
    private String appCode;

    /**
     * 资源类型01：保单，02：投保单，03：投保人附件，04：被保人附件，05：标的附件
     */
    @NotBlank(message = "资源类型不能为空")
    @ApiModelProperty(value = "资源类型，电子保单下载请传 02", required = true)
    private String bizCodeType;

    /**
     * 保单号
     */
    @ApiModelProperty(value = "保单号")
    private String policyNo;

    /**
     * 资源号，具体内容查看文档
     */
    @NotBlank(message = "资源号不允许为空")
    @ApiModelProperty(value = "资源号 电子保单下载请传  A002", required = true)
    private String resCode;

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getBizCodeType() {
        return bizCodeType;
    }

    public void setBizCodeType(String bizCodeType) {
        this.bizCodeType = bizCodeType;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }
}
